import {createApp} from 'vue'
import App from './App.vue'
import router from "@/router";
import 'element-plus/dist/index.css'
import ElementPlus from "element-plus";
import locale from 'element-plus/es/locale/lang/zh-cn'
import request from './utils/http/Request';


const app = createApp(App);

// 全局注册 request 模块
app.config.globalProperties.$request = request;
app.use(ElementPlus,{ locale });
app.use(router);
app.mount('#app');

